package com.dfbz.demo02_Writer;

import java.io.FileWriter;
import java.io.Writer;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo03_按照偏移量来写出字符 {
    public static void main(String[] args)throws Exception {

        Writer writer=new FileWriter("001.txt");

        char[] data = {'白','切','鸡'};

        writer.write(data,1,2);

        writer.close();
    }
}
